#include "Sa2dDom.h"

windowSettings::windowSettings(){

}

const int windowSettings::getHeight() {
	return height;
}

const string windowSettings::getName() {
	return name;
}

const int windowSettings::getWidth() {
	return width;
}

void windowSettings::setHeight(int height) {
	this->height = height;
}

void windowSettings::setName(string name) {
	this->name = name;
}

void windowSettings::setWidth(int width) {
	this->width = width;
}

string windowSettings::toString(int indent) {
	string tabs = this->getIndent(indent);
	stringstream returnString;
	returnString << tabs << "window:\n";
	returnString << tabs << "name: " << name << "\n";
	returnString << tabs << "width: " << width<< "\n";
	returnString << tabs << "iterations : " << height << "\n";
	return returnString.str();
}
